package com.lbt.eduorder.client;

import com.lbt.commonuntils.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component  //将这个组件 交给Spring管理
@FeignClient("service-ucenter")     //表明你要调用那个模块
public interface UcenterClient {
    @GetMapping("/educenter/member/getUserInfoOrder/{id}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("id") String id);
}
